Fix file chooser
authorMatthias Clasen <mclasen@redhat.com>
Tue, 9 Jan 2018 22:20:23 +0000 (17:20 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 9 Jan 2018 22:20:23 +0000 (17:20 -0500)
Now that the places sidebar is private, we need to
ensure the type is known.

gtk/gtkfilechooserwidget.c

index a0e0dc363011b63f5400fe3e481aca8d8b366327..da74bc64a5c3b269e1d8f2019c92241d6f81c6ac 100644 (file)
@@ -8580,6 +8580,7 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *impl)
    */
   g_type_ensure (GTK_TYPE_PATH_BAR);
   g_type_ensure (GTK_TYPE_PLACES_VIEW);
+  g_type_ensure (GTK_TYPE_PLACES_SIDEBAR);
   g_type_ensure (GTK_TYPE_FILE_CHOOSER_ERROR_STACK);
 
   gtk_widget_init_template (GTK_WIDGET (impl));